home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _9BE4F2BD79D347DFBEE9137B2FF6C2B5 < prev    next >
Encoding:
Text File  |  2006-08-04  |  823 b   |  30 lines

  1.  
  2. from PSPApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  8.         'Description': 'Factory default preset for LensDistortion effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_LensDistortion():
  14.     return {
  15.         'HorizontalOffset': 0,
  16.         'Strength': 25,
  17.         'BackgroundColor': (0, 0, 0),
  18.         'VerticalOffset': 0,
  19.         'GeneralSettings': {
  20.             'AutoActionMode': 0,
  21.             'ExecutionMode': 0
  22.             },
  23.         'DistortionType': 0,
  24.         'FieldOfView': 100,
  25.         'EdgeMode': 2
  26.         }
  27.  
  28. def Do(Environment):
  29.     App.Do( Environment, 'LensDistortion', Preset_LensDistortion())
  30.